export const ORDER_TYPE = {
  ALL: -1,
  FOOD: 0,
  SHOPPING: 1,
  TRAFFIC: 2
}

export const ORDER_TYPE_TEXT = {
  [ORDER_TYPE.ALL]: '全部',
  [ORDER_TYPE.FOOD]: '餐饮',
  [ORDER_TYPE.SHOPPING]: '购物',
  [ORDER_TYPE.TRAFFIC]: '交通'
}

export const ORDER_TYPE_ICON = {
  [ORDER_TYPE.FOOD]: 'el-icon-tableware',
  [ORDER_TYPE.SHOPPING]: 'el-icon-shopping-cart-full',
  [ORDER_TYPE.TRAFFIC]: 'el-icon-bicycle'
}

export const OrderTypeOptions = Object.values(ORDER_TYPE).map(value => ({ label: ORDER_TYPE_TEXT[value], value }))